package main

import "fmt"

var (
	global_variable  int
	global_slice     []int
	global_interface interface{}
)

func main() {
	fmt.Println("hello demonlb")
	var variable1 int
	// 简短申明, 类型自动推导
	variable2 := "I am demonlb"

	var variable3 = 100
	var variable4, variable5, variable6 = 1, "a", true
	fmt.Print(variable1, variable2, variable3)
	fmt.Print(variable4, variable5, variable6)
	var i = 100
	var j = 200
	fmt.Println(i, j)
	i, j = j, i
	fmt.Println(i, j)
}
